<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%
	request.setCharacterEncoding("utf-8");
	response.setCharacterEncoding("utf-8");
%>
<% 
	String id_number = request.getParameter("id_number");
	String id_type = request.getParameter("id_type");
	String zhengjian="";
	if(id_type.equals("D")){
		zhengjian = "居民名身份证";
	}else if(id_type.equals("A")){
		zhengjian = "军官证";	
	}else if(id_type.equals("P")){
		zhengjian = "护照";
	}
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>My JSP 'newcustomer1.jsp' starting page</title>
		<link href="style/stylet.css"
			rel="stylesheet" type="text/css">
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<meta http-equiv="content-type" content="text/html; charset=gbk">
		
		<!--
	新增用户第二步，如果用户不存在，进入本页面。
	-->
		<script type="text/javascript">
    function check(){
   
    }
   </script>
	</head>
	<body>
	<font size="2">	您现在的位置:新增客户>第二步</font>
		<br>
		<hr width="100%" size="2">
		
		<form action="checkNewCustomer.jsp?flag=newcustomer2" method="post"
			name="customer_msg" onSubmit="return check();">
			<input type="hidden" name="id_type" value="<%=id_type%>" >
			<input type="hidden" name="id_number" value="<%=id_number%>">
			证件类型:<%=zhengjian %>
			<br>
			<br>
			证件号码:<%=id_number %>
			<br>
			<br>
			姓名:
			<input type="text" name="customer_name">
			<br>
			<br>
			性别:
			<input type="radio" name="customer_sex" value="男" checked="checked">
			男
			<input type="radio" name="customer_sex" value="女">
			女
			<br>
			<br>
			生日:
			<select name="birthday_year">
				<option value="1980">
					1980
				</option>
				<option value="1981">
					1981
				</option>
				<option value="1982">
					1982
				</option>
				<option value="1983">
					1983
				</option>
				<option value="1984">
					1984
				</option>
				<option value="1985">
					1985
				</option>
				<option value="1986">
					1986
				</option>
				<option value="1987">
					1987
				</option>
				<option value="1988">
					1988
				</option>
				<option value="1989">
					1989
				</option>
				<option value="1990">
					1990
				</option>
				<option value="1991">
					1991
				</option>
				<option value="1992">
					1992
				</option>
				<option value="1993">
					1993
				</option>
			</select>
			年
			<select name="birthday_month">
				<option value="1">
					1
				</option>
				<option value="2">
					2
				</option>
				<option value="3">
					3
				</option>
				<option value="4">
					4
				</option>
				<option value="5">
					5
				</option>
				<option value="6">
					6
				</option>
				<option value="7">
					7
				</option>
				<option value="8">
					8
				</option>
				<option value="9">
					9
				</option>
				<option value="10">
					10
				</option>
				<option value="11">
					11
				</option>
				<option value="12">
					12
				</option>
			</select>
			月
			<select name="birthday_day">
				<option value="1">
					1
				</option>
				<option value="2">
					2
				</option>
				<option value="3">
					3
				</option>
				<option value="4">
					4
				</option>
				<option value="5">
					5
				</option>
				<option value="6">
					6
				</option>
				<option value="7">
					7
				</option>
				<option value="8">
					8
				</option>
				<option value="9">
					9
				</option>
				<option value="10">
					10
				</option>
				<option value="11">
					11
				</option>
				<option value="12">
					12
				</option>
				<option value="13">
					13
				</option>
				<option value="14">
					14
				</option>
				<option value="15">
					15
				</option>
				<option value="16">
					16
				</option>
				<option value="17">
					17
				</option>
				<option value="18">
					18
				</option>
				<option value="19">
					19
				</option>
				<option value="20">
					20
				</option>
				<option value="21">
					21
				</option>
				<option value="22">
					22
				</option>
				<option value="23">
					23
				</option>
				<option value="24">
					24
				</option>
				<option value="25">
					25
				</option>
				<option value="26">
					26
				</option>
				<option value="27">
					27
				</option>
				<option value="28">
					28
				</option>
				<option value="29">
					29
				</option>
				<option value="30">
					30
				</option>
				<option value="31">
					31
				</option>
			</select>
			日
			<br>
			<br>
			联系地址:
			<input type="text" name="customer_address">
			<br>
			<br>
			<input type="submit" class="tb_top_1" value="下一步>>">
			<input type="reset" class="tb_top_1" value="全部重写">
			<input type="button" onclick="javascript:history.back()" value="返回">
		</form>
	</body>
</html>
